#!/usr/bin/python
# -*- encoding: utf-8 -*-
'''
@File    :   1.18.py
@Time    :   2020/03/18 21:02:00
@Author  :   Malygos_l 
@Version :   1.0
@Contact :   751756061@qq.com
@WebSite :   www.gitee.com/malygos_l
'''
# Start typing your code from here

while True:
    try:
        x = int(input("请输入一个数字: "))
        break
    except ValueError:
        print("您输入的不是数字，请再次尝试输入！")
